GraphConverter

open class GraphConverter(graphProcessor: AbstractGraphProcessor, gson: <Error class: unknown class>)

Body for GraphQL requests and responses, closed for modification but open for extension.

Parameters

graphProcessor

A singleton reference of AbstractLogger

gson

Any valid application context

Constructors

Link copied to clipboard
constructor(graphProcessor: AbstractGraphProcessor, gson: <Error class: unknown class>)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open fun requestBodyConverter(type: Type, parameterAnnotations: Array<out Annotation>, methodAnnotations: Array<out Annotation>, retrofit: <Error class: unknown class>): <Error class: unknown class><out <Error class: unknown class>, <Error class: unknown class>>?

Response body converter delegates logic processing to a child class that handles wrapping and deserialization of the json response data.

Link copied to clipboard
open fun responseBodyConverter(type: Type, annotations: Array<out Annotation>, retrofit: <Error class: unknown class>): <Error class: unknown class><<Error class: unknown class>, out <Error class: unknown class>>?

Response body converter delegates logic processing to a child class that handles wrapping and deserialization of the json response data.

Link copied to clipboard
fun setLogLevel(logLevel: LogLevel)

Sets the minimum level for log messages. Attempted messages with a too low log level are skipped and not printed to the system log.

Link copied to clipboard

Overrides the minimum level for log messages on the logger.